home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1995 September
/
JCSM Shareware Collection (September 30th 1995 Author to Vendor Edition) (JCS Distribution).ISO
/
homepers
/
11420j01.ziv
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1994-03-18
|
2KB
|
73 lines
echo off
cls
if %1x==x goto NODRIVE
%1
instprog %1 %2 1 mainprog PS PROSKED ~0
if errorlevel 99 goto END
cls
if exist upgrd.exe erase upgrd.exe
copy %1*.*
if exist t0.hlp erase t?.hlp
cls
echo just a minute...
if exist manual erase manual.*
if exist jwtype.lbf erase jw*.*
if exist help erase help.*
if exist messages erase messages.*
if exist blankcal erase blank*
if exist alarm.dat erase alarm.dat
if exist mainprog.exe erase mainprog.*
if exist sample.lbt erase sample.lbt
if exist sample1.rpt erase sample1.rpt
if exist printers.lbf erase printers.lbf
if exist pc-beep.exe erase pc-beep.exe
cls
if not exist m-journ.lbf goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy.
echo .
echo ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
echo .
echo .
pause
cls
:EXTRACT
pskd
erase pskd.exe
mainprog u %2 ~0
mainprog i ~0
mainprog t all
if exist jwread.txt mainprog t jwread
rem if exist manual.idx erase m*.txt
rem echo off
cls
if exist 1sttime.fyl erase 1sttime.fyl
if exist m-journ.lbf goto NOTFIRST
mainprog p
mainprog w
mainprog m
:NOTFIRST
rem echo off
cls
echo To use this scheduler, go to the PS directory on drive %2 and enter
echo "PS xxx" (where xxx are your initials). For example, if your initials
echo were ABC, you would enter "PS ABC" (without quotes).
echo .
echo .
pause
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: "B:INSTALL B: C:" will install program from drive B to drive C:
echo .
echo PLEASE TRY AGAIN
:END